﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;

namespace CSMF
{
    public partial class SinaBind : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var service = new SinaService();

            var oauth = service.GetBindAuth();

            var authUrl = oauth.GetAuthorizeURL();

            Response.Redirect(authUrl);
        }
    }
}